package com.linrui.user.mapper;

import com.linrui.user.domain.Logininfo;
import com.linrui.basic.mapper.BaseMapper;
import com.linrui.user.dto.AccountLoginDTO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linrui
 * @since 2022-11-14
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findUserByMobile(String mobile);

    Logininfo findLogininfoByUsername(AccountLoginDTO dto);

    Logininfo findByUserId(Long userId);
}
